﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
namespace DrivingAlarm
{
    class Funcs
    {
        /// <summary>
        /// 获取当前版本号
        /// </summary>
        /// <returns></returns>
        public static string GetSftVersion()
        {
            Assembly AppAssembly = Assembly.GetExecutingAssembly();
            string strVer = string.Format("{0}", AppAssembly.GetName().Version);
            return strVer;
        }
    }
}
